package com.ruoyi.system.third.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.StringJoiner;

/**
 * @Description 商户信息
 * @Classname MerchantInfoDTO
 * @Date 2025-2-17 15:29
 * @Author 12601786
 */
@ApiModel(value = "商户信息", description = "商户信息DTO")
public class MerchantInfoDTO {

    @ApiModelProperty(value = "地址")
    private String address;
    @ApiModelProperty(value = "区域")
    private String area;
    @ApiModelProperty(value = "城市")
    private String city;
    @ApiModelProperty(value = "联系人")
    private String contactName;
    @ApiModelProperty(value = "纬度")
    private String latitude;
    @ApiModelProperty(value = "经度")
    private String longitude;
    @ApiModelProperty(value = "门店编码", required = true)
    private String merchantCode;
    @ApiModelProperty(value = "门店Id")
    private String merchantId;
    @ApiModelProperty(value = "门店名称")
    private String merchantName;
    @ApiModelProperty(value = "营业时间")
    private String openTime;
    @ApiModelProperty(value = "省份")
    private String province;
    @ApiModelProperty(value = "电话")
    private String telephone;

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getContactName() {
        return contactName;
    }

    public void setContactName(String contactName) {
        this.contactName = contactName;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getMerchantCode() {
        return merchantCode;
    }

    public void setMerchantCode(String merchantCode) {
        this.merchantCode = merchantCode;
    }

    public String getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(String merchantId) {
        this.merchantId = merchantId;
    }

    public String getMerchantName() {
        return merchantName;
    }

    public void setMerchantName(String merchantName) {
        this.merchantName = merchantName;
    }

    public String getOpenTime() {
        return openTime;
    }

    public void setOpenTime(String openTime) {
        this.openTime = openTime;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    @Override
    public String toString() {
        return new StringJoiner(", ", MerchantInfoDTO.class.getSimpleName() + "[", "]")
                .add("address='" + address + "'")
                .add("area='" + area + "'")
                .add("city='" + city + "'")
                .add("contactName='" + contactName + "'")
                .add("latitude='" + latitude + "'")
                .add("longitude='" + longitude + "'")
                .add("merchantCode='" + merchantCode + "'")
                .add("merchantId='" + merchantId + "'")
                .add("merchantName='" + merchantName + "'")
                .add("openTime='" + openTime + "'")
                .add("province='" + province + "'")
                .add("telephone='" + telephone + "'")
                .toString();
    }
}
